package com.fesine.learn.design.pattern.creational.builder;

/**
 * @description: 类描述
 * @author: fesine
 * @createTime:2019/2/18
 * @update:修改内容
 * @author: fesine
 * @updateTime:2019/2/18
 */
public class Test {
    public static void main(String[] args) {
        CourseBuilder courseBuilder = new CourseActualBuilder();
        Coach coach = new Coach();
        coach.setCourseBuilder(courseBuilder);

        Course course = coach.makeCourse("java课程", "java课程PPT",
                "java课程视频", "java课程手记", "java课程问答");
        System.out.println(course);
    }
}
